<?php
return [
    'login'    =>    [
        'accountRequire' => '用户名不能为空',
        'passwordRequire' => '密码不能为空',
        'passwordLength' => '密码长度错误',
        'userDoesNotExist' => '用户不存在',
        'accountPermissionsNotMatch' => '账户权限不匹配',
        'loginSuccessful' => '登录成功',
        'exitSuccessful' => '退出登录',
        'exitFailed' => '退出失败',
        'authorizationTokenNotExist' => '授权失效，Token不存在',
        'authorizationTokenInvalid' => '授权失效，Token失效',
        'verificationPasswordError' => '登录密码错误',
        'passwordLengths' => '密码长度错误',
        'userIsDisabled' => '用户已禁用',
    ],
    'staff'     =>   [
        'pageIndex' => '页码',
        'pageSize' => '每页数量',
        'content' => '账号',
        'type' => '登录类型',
    ],
    'message'     =>   [
        'content' => '消息内容',
    ],
    'profit'     =>   [
        'type' => '收益场景',
        'pid' => '商品id',
    ],
    'translate  '     =>   [
        'content' => '翻译内容',
        'target_language' => '目标语言',
    ],
    'register'    =>    [
        'cusnameCannotBeEmpty' => '用户名不能为空',
        'emailCannotBeEmpty' => '邮箱不能为空',
        'emailFormatError' => '邮箱格式错误',
        'passwordRequire' => '密码不能为空',
        'passwordLength' => '密码长度错误',
        'accountAlreadyExists' => '账号已存在',
        'emailAlreadyExists' => '邮箱已存在',
        'codeRequire' => '验证码不能为空',
        'codeLength' => '验证码必须在6位',
    ],
    'retrieve'    =>    [
        'emailCannotBeEmpty' => '邮箱不能为空',
        'emailFormatError' => '邮箱格式错误',
        'codeRequire' => '验证码不能为空',
        'codeLength' => '验证码长度必须在是6位',
        'emailDoesNotExist' => '邮箱不存在',
        'passwordRequire' => '密码不能为空',
        'passwordLengths' => '密码长度错误',
        'repeatPasswordRequire' => '密码不能为空',
        'repeatPasswordLengths' => '密码长度错误',
        'verificationCodeNotExist' => '验证码不存在',
        'verificationCodeError' => '验证码错误',
        'passwordsAreInconsistent' => '两次密码不一致',
        'passwordResetSuccessful' => '密码重置成功',
        'passwordResetFailed' => '密码重置失败',
    ],
    'user'    =>    [
        'countryIdRequire' => '国家ID不能为空',
        'countryIdNotExist' => '国家ID不存在',
        'countryIdNumber' => '国家ID参数类型错误',
        'avatarIdRequire' => '头像ID不能为空',
        'avatarIdNumber' => '头像ID参数错误',
        'nicknameRequire' => '昵称不能为空',
        'userInformationNotExist' => '用户信息不存在',
        'cusnameLength' => '用户名请在2-18字符之间',
        'qqNumber' => 'QQ号格式错误',
        'qqLength' => 'QQ号长度错误',
        'whatsappString' => 'whatsapp 格式错误',
        'nicknameLength' => '昵称长度多为',
        'countryString' => '国家格式错误',
        'addressString' => '详细地址错误',
        'updateSuccessful' => '更新成功',
        'updateFailed' => '更新失败',
        'phoneCodeRequire' => '手机区号不能为空',
        'codeRequire' => '验证码不存在',
        'codeLength' => '验证码长度错误',
        'phoneRequire' => '手机号码不存在',
        'phoneNumber' => '手机号码只能为数字',
        'emailRequire' => '邮箱不能为空',
        'emailEmail' => '邮箱格式错误',
        'passwordRequire' => '原密码不存在',
        'passwordLength' => '原密码长度错误',
        'newPasswordRequire' => '新密码不存在',
        'newPasswordLength' => '新密码长度错误',
        'repeatPasswordRequire' => '重复密码不存在',
        'repeatRasswordLength' => '重复密码长度错误',
        'verificationCodeError' => '验证码错误',
        'verificationPasswordError' => '原密码错误',
        'repeatPasswordAtypism' => '两次密码不一致',
        'cannotMatchOriginalPassword' => '不能和原密码一致',
    ],
    'address'  =>  [
        'addressNotFound' => '没有找到地址',
        'addressAlreadyExists' => '地址已存在',
        'addressNotExist' => '地址不存在',
        'idRequire' => 'ID 不能为空',
        'idNumber' => 'ID 只能是数字类型',
        'firstNameRequire' => 'firstName 不能为空',
        'lastNameRequire' => 'lastName 不能为空',
        'emailRequire' => '邮箱不能为空',
        'emailEmail' => '邮箱格式错误',
        'phoneRequire' => '手机号不能为空',
        'countryIdRequire' => '国家ID不能为空',
        'countryIdNumber' => '国家ID只能是数字',
        'countryNameRequire' => '国家名称不能为空',
        'cityIdRequire' => '城市ID不能为空',
        'cityIdNumber' => '城市ID只能是数字',
        'cityNameRequire' => '城市名称不能为空',
        'stateRequire' => '州名称不能为空',
        'zipCodeRequire' => '邮编不能为空',
        'zipCodeNumber' => '邮编只能是数字',
        'addressRequire' => '详细地址不能为空',
        'savedSuccessfully' => '地址保存成功',
        'saveFailed' => '地址保存失败',
        'updateSuccessfully' => '地址更新成功',
        'updateFailed' => '地址更新失败',
        'settingSuccessful' => '设置成功',
        'settingFailed' => '设置失败',
        'deleteSuccessful' => '删除成功',
        'deleteFailed' => '删除失败',
        'countryIdAlreadyExists' => '国家ID不存在',
        'cityIdAlreadyExists' => '城市ID不存在'
    ],
    'carts'  =>  [
        'success' => '购物车添加成功',
        'error' => '购物车添加失败',
        'idRequire' => '购物车ID不能为空',
        'idNumbe' => '购物车ID只能是数字类型',
        'userIdRequire' => '用户ID不能为空',
        'userIdNumbe' => '用户ID只能是数字类型',
        'pageRequire' => 'page 页码不能为空',
        'pageNumber' => 'page 页码只能是数字类型',
        'listRowsRequire' => '每页显示数量不能为空',
        'listRowsNumber' => '每页显示数量只能是数字类型',
        'productIdRequire' => '商品ID不能为空',
        'productIdNumber' => '产品ID只能是数字类型',
        'warehouseIdRequire' => '仓库ID不能为空',
        'warehouseIdNumber' => '仓库ID参数错误',
        'quantityRequire' => '购物车数量不能为空',
        'quantityNumber' => '购物车数量参数错误',
        'isFuturesRequire' => '库存方式参数错误',
        'isFuturesNumber' => '库存方式不能为',
        'skuRequire' => 'sku 不能为空',
        'shoppingCartNotExist' => '购物车商品不存在',
        'inventoryIdNotExist' => '商品不存在',
        'InsufficientInventoryQuantity' => '库存数量不足',
        'unableToAddToCart' => '无法加入购物车',
        'cartNotExist' => '购物车不存在',
    ],
    'distributor'  =>  [
        'idsRequire' => '参数 ids 不能为空',
        'idsArray' => '参数 ids 数据格式错误',
        'pageRequire' => 'Page 参数不能为空',
        'pageNumber' => 'Page 参数必须是数字类型',
        'listRowsRequire' => '每页显示条数不能为空',
        'listRowsNumber' => '每页显示条数只能是数字类型',
        'brandRequire' => '品牌不能为空',
        'brandArray' => '品牌参数只能是数组类型',
        'minableCoinRequire' => '货币的不能为空',
        'minableCoinArray' => '货币只能是数组类型',
        'warehouseRequire' => '仓库不能为空',
        'warehouseArray' => '仓库参数只能是数组类型',
        'conditionRequire' => 'condition 不能为空',
        'conditionNumber' => 'condition 只能是数字类型',
        'sortRequire' => '排序字字段不能为空',
        'addressIdRequire' => '地址ID不能为空',
        'addressIdNumber' => '地址ID参数格式错误',
        'shippingMethodIdRequire' => '物流方式ID不能为空',
        'shippingMethodIdNumber' => '物流方式ID格式错误',
        'taxPackageIdRequire' => '税收ID不能为空',
        'taxPackageIdNumber' => '税收ID格式错误',
        'orderNoRequire' => '订单号不能为空',
    ],
    'product'  =>  [
        'day' => '天',
        'inStock' => '现货',
    ],
    'order'  =>  [
        'userIdRequire' => '用户ID不能为空',
        'userIdNumber' => '用户ID只能事数子类型',
        'idsRequire' => '购物车IDs不能为空',
        'idsArray' => '购物车IDs只能是数组类型',
        'productArray' => '商品信息是数组类型',
        'shoppingCartNotExist' => '购物车商品不存在',
        'shoppingCartIdsError' => '购物车 ids 错误',
        'addressIdRequire' => '地址ID错误',
        'addressIdNumber' => '地址ID参数错误',
        'shippingMethodIdRequire' => '物流方式不能为空',
        'shippingMethodIdNumber' => '物流方式参数错误',
        'isWholesalRequire' => '订单类型不能为空',
        'isWholesalNumber' => '订单类型参数错误',
        'isWholesalIn' => '订单类型参数错误',
        'paymentMethodIdRequire' => '支付方式不能为空',
        'paymentMethodIdNumber' => '支付方式参数错误',
        'billingAddressRequire' => '账单类型不能为空',
        'billingAddressNumber' => '账单参数错误',
        'billingAddressIdRequire' => '账单地址不能为空',
        'billingAddressIdNumber' => '账单地址参数错误',
        'createOrderError' => '订单创建失败',
        'createOrderSuccess' => '订单创建成功',
        'deliveryAddressError' => '收货地址不存在',
        'logisticsMethodError' => '物流方式错误',
        'orderNoRequire' => '订单号不能为空',
        'orderNotExist' => '订单不存在',
        'fileRequire' => '请上传文件',
        'voucherUploadSuccess' => '支付凭证上传成功',
        'voucherUploadFailed' => '凭证保存失败',
        'orderStatusError' => '订单状态错误',
        'orderPayStatusError' => '订单支付状态错误',
        'paymentWouchersCannotExceed9Items' => '支付凭证已经到达上限',
        'tooFrequentOperation' => '操作太频繁请稍后再试',
        'voucherNotExist' => '支付凭证不存在',
        'voucherStatusError' => '支付凭证状态错误',
        'voucherMethodError' => '支付凭证类型错误',
        'addressDoesNotExist' => '发货地址不存在',
        'billingAddressNotExist' => '账单地址不存在',
        'orderPaymentMethodError' => '支付类型错误',
        'pickupNameRequire' => '自提名称不能为空',
        'pickupPhoneRequire' => '自提电话不能为空',
        'pickupPassportRequire' => '护照不能为空',
        'advanceAmountRequire' => '预付款错误',
        'multipleWarehousesUnable' => '多个仓库无法下单',
        'logisticsFeeError' => '运费错误',
        'shoppingCartNotEnough' => '商品超出库存',
        'methodRequire' => '购买类型错误',
        'productRequire' => '购买商品不能为空',
    ],
    'logistics'  =>  [
        'userIdRequire' => '用户ID不能为空',
        'userIdNumber' => '用户ID只能事数子类型',
        'idsRequire' => '购物车IDs不能为空',
        'idsArray' => '购物车IDs只能是数组类型',
        'shoppingCartNotExist' => '购物车商品不存在',
        'shoppingCartIdsError' => '购物车 ids 错误',
        'addressIdRequire' => '地址ID错误',
        'addressIdNumber' => '地址ID参数错误',
        'shippingMethodIdRequire' => '物流方式不能为空',
        'shippingMethodIdNumber' => '物流方式参数错误',
        'productRequire' => '商品不能为空',
        'productArray' => '商品只能是数组类型',
    ],
    'service'  =>  [
        'errorMessage' => '系统错误',
        'paramNotAnArray' => '参数必须是数组',
        'cacheException' => '服务器缓存异常',
    ],
    'payment'  =>  [
        'paymentMethodError' => '支付方式错误',
        'paymentFailed' => '支付失败',
    ],
    'region'  =>  [
        'countryIddRequire' => '国家ID不能为空',
        'countryIdNumber' => '国家ID只能数字类型'
    ],
    'operator'  =>  [
        'noSalespersonFound' => '未找到销售人员'
    ],
    'validation'=>[
        'scenes'        =>'验证场景',
        'require'       => ':attribute必须填写',
        'accepted'      => ':attribute必须接受',
        'date'          => ':attribute不是有效日期',
        'number'        => ':attribute必须是数字',
        'integer'       => ':attribute必须是整数',
        'float'         => ':attribute必须是浮点数',
        'boolean'       => ':attribute必须是布尔值',
        'array'         => ':attribute必须是数组',
        'object'        => ':attribute必须是对象',
        'email'         => ':attribute邮箱格式错误',
        'mobile'        => ':attribute手机号格式错误',
        'idCard'        => ':attribute身份证号格式错误',
        'zip'           => ':attribute邮政编码格式错误',
        'url'           => ':attribute网址格式错误',
        'ip'            => ':attributeIP地址格式错误',
        'dateFormat'    => ':attribute必须符合格式 :rule',
        'regex'         => ':attribute格式不符合要求',
        'in'            => ':attribute必须在 :rule 范围内',
        'notIn'         => ':attribute不能在 :rule 范围内',
        'between'       => ':attribute必须介于 :1 - :2 之间',
        'notBetween'    => ':attribute不能介于 :1 - :2 之间',
        'length'        => ':attribute长度必须为 :rule 个字符',
        'max'           => ':attribute长度不能超过 :rule 个字符',
        'min'           => ':attribute长度不能少于 :rule 个字符',
        'confirm'       => ':attribute两次输入不一致',
        'different'     => ':attribute必须和 :rule 不同',
        'eq'            => ':attribute必须等于 :rule',
        'gt'            => ':attribute必须大于 :rule',
        'egt'           => ':attribute必须大于等于 :rule',
        'lt'            => ':attribute必须小于 :rule',
        'elt'           => ':attribute必须小于等于 :rule',
        'file'          => ':attribute必须是文件',
        'image'         => ':attribute必须是图片',
        'fileSize'      => ':attribute文件大小不能超过 :rule',
        'fileExt'       => ':attribute文件扩展名必须是 :rule',
        'fileMime'      => ':attribute文件类型必须是 :rule',
        'unique'        => ':attribute已存在',
        'exist'         => ':attribute不存在',
        'filter'        => ':attribute包含非法内容',
        'behavior'      => ':attribute行为验证失败',
        'json'          => ':attribute必须是JSON字符串',
        'token'         => ':attribute令牌无效'
    ]
];
